package com.woniuxy.entity;

import java.util.List;

/**
 * @author: GYF
 * Date: 2021/2/23:11:03
 * Description:
 */
public class User {
    private int id;
    private String account;
    private String password;
    private int memberid;
    private List<String> role;


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public List<String> getRole() {
        return role;
    }

    public void setRole(List<String> role) {
        this.role = role;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getMemberid() {
        return memberid;
    }

    public void setMemberid(int memberid) {
        this.memberid = memberid;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", account='" + account + '\'' +
                ", password='" + password + '\'' +
                ", memberid=" + memberid +
                ", role=" + role +
                '}';
    }
}
